<?php
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
include_once("../../finance/controller/model/setting.php");
?>



<?php
$nid=$_GET['nid'];
$table_Suffix=$_GET['table'];

//设置需要搜索的表格的前缀后缀
$table=$table_Prefix.$table_Suffix;
//设置需要搜索的表格的前缀后缀


$sql = " DELETE FROM $table WHERE nid = $nid";

$query=mysql_query($sql) or die ("error:".mysql_error());
mysql_close($con);

echo "deleted";//表示成功


?>


